package com.example.zkweixiu.app.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.example.zkweixiu.app.R;
import com.yanzhenjie.sofia.Sofia;

public class WorkboxActivity extends AppCompatActivity implements View.OnClickListener {
    private Intent intent;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_workbox);
        Sofia.with(WorkboxActivity.this).statusBarDarkFont().statusBarBackground(Color.parseColor("#FFFFFF"));
        ImageView iv_fanhui = findViewById(R.id.iv_fanhui);
        View iv_fanhui2 = findViewById(R.id.iv_fanhui2);

        iv_fanhui.setOnClickListener(this);
        iv_fanhui2.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.iv_fanhui:
                finish();
                break;
            case R.id.iv_fanhui2:
                finish();
                break;

        }
    }
}
